package com.huanglj.himalaya.utils;

public class Constants {
    public final static int INDEX_RECOMMEND = 0;
    public final static int INDEX_SUBSCRIPTION = 1;
    public final static int INDEX_HISTORY = 2;
    //title的个数
    public final static int PAGE_COUNT = 3;
    //获取推荐的个数
    public final static String RECOMMEND_LIKE_COUNT = "50";
    //获取AlbumId的页数
    public final static String ALBUM_PAGE = "1";
    //搜索专辑的页数
    public static int PAGE_SEARCH = 1;
    //热词的获取个数
    public final static int HOT_TOP = 10;
    //热词缓存key
    public final static String HOT_TOP_SP = "HOT_TOP_SP";
    //获取推荐词的个数
    public final static int SUGGEST_SIZE = 10;
    //数据库名字
    public final static String DB_NAME = "Ximalaya.db";
    //数据库版本
    public final static int DB_VERSION_CODE = 1;
    //数据库表名
    public final static String SUB_TB_NAME = "tb_sub";
    //订阅表中的字段的抽成常量
    public final static String SUB_ID = "_id";
    public final static String SUB_COVER_URL = "coverUrl";
    public final static String SUB_TITLE = "title";
    public final static String SUB_DESCRIPTION = "description";
    public final static String SUB_PLAY_COUNT = "playCount";
    public final static String SUB_TRACKS_COUNT = "tracksCount";
    public final static String SUB_AUTHOR_NAME = "authorName";
    public final static String SUB_ALBUM_ID = "albumId";

    //历史数据库表名
    public final static String HISTORY_TB_NAME = "tb_history";
    public final static String HISTORY_ID = "_id";
    public final static String HISTORY_TRACK_ID = "track_id";
    public final static String HISTORY_TITLE = "title";
    public final static String HISTORY_PLAY_COUNT = "play_count";
    public final static String HISTORY_DESCRIPTION = "description";
    public final static String HISTORY_UPDATE_TIME = "update_time";
    public final static String HISTORY_COVER = "cover";
    public final static String HISTORY_AUTHOR_NAME = "author_name";
    public final static String HISTORY_DURATION = "duration";
}
